configure: fix linking on RISC-V ISA
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 16 Jun 2018 18:31:45 +0000 (21:31 +0300)
committerUtkarsh Gupta <utkarsh@debian.org>
Sun, 22 Feb 2026 15:32:00 +0000 (21:02 +0530)
Gbp-Pq: Name 0001-configure-fix-linking-on-RISC-V-ISA.patch

configure.ac

index f4a0a02a21718d985a7a61e685e56233e9526ff2..69487883eeb7b7d020dea56fd6379bce5379710b 100644 (file)
@@ -113,6 +113,7 @@ case "${host_os}" in
     ;;
   linux*)
     SYS=linux
+    test "${host_cpu}" = "riscv64" && CFLAGS="${CFLAGS} -pthread"
     ;;
   bsdi*)
     SYS=bsdi